﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/anon.Master" AutoEventWireup="true"
    CodeBehind="resetpass.aspx.cs" Inherits="Ciripescu_WebRole.resetpass" %>

<%@ Register Assembly="WebTools.UI" Namespace="WebTools.UI.WebControls" TagPrefix="webtools" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="panSend" runat="server">
        <div>
            <h2>
                Ti-ai uitat parola ? ...hmmmm cam nasol</h2>
            Ciripescu iti va trimite instructiuni pentru resetarea parolei, pe adresa de email
            asociata cu contul tau. Introdu adresa de email sau username-ul mai jos.
            <table cellpadding="10px">
                <tr>
                    <td valign="middle">
                        <asp:Label ID="Label1" runat="server" Text="Adresa de email sau username:"></asp:Label>
                    </td>
                    <td valign="middle">
                        <asp:TextBox ID="txtEmailOrUsername" runat="server" CssClass="txt" ValidationGroup="g2"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtEmailOrUsername"
                            ValidationGroup="g2" runat="server" ErrorMessage="..nu poate fi gol"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td colspan="2">
                        <webtools:RolloverImageButton ID="btnSendMail" runat="server" ValidationGroup="g2"
                            ToolTip="Trimite instructiuni" ImageUrl="/images/buttons/trimite.png" MouseOutImageUrl="/images/buttons/trimite.png"
                            MouseOverImageUrl="/images/buttons/trimite_o.png" OnClick="btnSendMail_Click"></webtools:RolloverImageButton>
                    </td>
                </tr>
            </table>
            <div id="divErrorSend" class="errors" runat="server">
            </div>
        </div>
    </asp:Panel>
    <asp:Panel ID="panReset" runat="server">
        <div>
            <h2>
                Reseteaza-ti parola</h2>
            <table cellpadding="10px">
                <tr>
                    <td>
                        <asp:Label ID="Label11" runat="server" Text="*Noua parola:" CssClass="label"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtNewPass" runat="server" TextMode="Password" CssClass="txt"
                            Width="250px"></asp:TextBox>
                    </td>
                    <td>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="txtNewPass"
                            ValidationGroup="g1" runat="server" ErrorMessage="...necesar sa contina cel putin un caracter..."></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td >
                        <asp:Label ID="Label12" runat="server" Text="*Verific noua parola:" CssClass="label"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtNewPass2" runat="server" TextMode="Password" CssClass="txt"
                            Width="250px"></asp:TextBox>
                        <cc1:passwordstrength id="txtNewPass2_PasswordStrength" runat="server" targetcontrolid="txtNewPass2"
                            enabled="True">
            </cc1:passwordstrength>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td colspan="2">
                        <webtools:RolloverImageButton ID="btnSaveNewPass" runat="server" ImageUrl="/images/buttons/save.png"
                            MouseOutImageUrl="/images/buttons/save.png" ValidationGroup="g1" MouseOverImageUrl="/images/buttons/save_o.png"
                            ToolTip="Salveaza modificarile" OnClick="btnSaveNewPass_Click"></webtools:RolloverImageButton>
                    </td>
                </tr>
            </table>
            <div id="divErrorSetPass" class="errors" runat="server">
            </div>
        </div>
    </asp:Panel>
</asp:Content>
